import request from '@/utils/request'
// 登录
export const login = (data) => {
  return request.post('/sys/login', data)
}
// 获取用户基本资料
export const getUserInfo = () => {
  return request.get('/sys/profile')
}
// 修改用户密码
export const updataPassowrd = (data) => {
  return request.put('/sys/user/updatePass', data)
}
